package com.zsix.system.mapper.processDefinitionMapper;

import com.zsix.common.dto.controllerParams.ProceParams;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ProcessParamsMapper {
    /**
     * 获取流程参数
     * @param processKey
     * @return
     */
    List<ProceParams> getProceParams(@Param("processKey") String processKey);

    /**
     * 设置流程参数
     * @param proceParamsList
     * @return
     */
    int setProceParams(@Param("proceParamsList") List<ProceParams> proceParamsList);

    /**
     * 删除流程参数
     * @param processKey
     * @return
     */
    int deleteProceParams(@Param("processKey") String processKey);
}
